﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Interfleet.SE.UICompiler.Core.ClosureCompilerREST
{
    /// <summary>
    /// Factory for Closure Compiler REST API agent
    /// </summary>
    /// <see cref="CompilerAgent"/>
    /// <see cref="Arguments"/>
    public class CCRESTCompilerAgentFactory : CompileAgentFactory
    {
        public override CompilerAgent CreateCompilerAgent(Arguments arguments)
        {
            return new CCRESTCompilerAgent(arguments);
        }

        public override Arguments CreateArguments()
        {
            return new CCRESTArguments();
        }

        public override CompileOptions GetCompileOptions()
        {
            return new CCRESTCompileOptions();
        }
    }
}
